<%= error_messages_for :member %>
<% form_for :member, :url => member_path(@member), :html => {:method => :put, :multipart => true} do |f| -%>
<fieldset>
    <legend>Update settings for <%= @member.login%></legend>

    <p><label for="blog">Website</label><br/>
    <%= f.text_field :blog %></p>
    
    <p><label for="linkedin">LinkedIn</label><br/>
    <%= f.text_field :linkedin %></p>
    
    <p><label for="facebook">Facebook id *</label><br/>
    <%= f.text_field :facebook %></p>
    
    <p><label for="twitter">Twitter *</label><br/>
    <%= f.text_field :twitter %></p>
    
    <p><label for="flickr">Flickr *</label><br/>
    <%= f.text_field :flickr %></p>
        
    <p><label for="biography">About me *</label><br/>
    <%= f.text_area :biography %></p>


    <p><label for="image">Profile picture</label> 
    <%= file_column_field "member", "image" %></p>

    <p><%= submit_tag 'Update' %></p>
</fieldset>
<% end -%>

<p><strong>* information will only be shown to logged in members.</strong></p>
